using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class HitInfo : MonoBehaviour
{
    [SerializeField]
    public Vector2 HitSize = new Vector2(1, 0.25f);
    void Awake()
    {
        var collider = GetComponent<BoxCollider2D>();
        collider.size = HitSize;
        gameObject.SetActive(false);
    }

    private void OnDrawGizmosSelected() {
        Gizmos.color = Color.red;
        Gizmos.DrawWireCube(transform.position, HitSize);
    }
}
